package com.org.model;

import java.sql.Timestamp;

/**
 * Receiver entity. @author MyEclipse Persistence Tools
 */

public class Receiver implements java.io.Serializable {

	// Fields

	private Long id;
	private Member member;
	private Area area;
	private Timestamp createDate;
	private Timestamp modifyDate;
	private String address;
	private String areaName;
	private String consignee;
	private Boolean isDefault;
	private String phone;
	private String zipCode;

	// Constructors

	/** default constructor */
	public Receiver() {
	}

	/** minimal constructor */
	public Receiver(Member member, Timestamp createDate, Timestamp modifyDate,
			String address, String areaName, String consignee,
			Boolean isDefault, String phone, String zipCode) {
		this.member = member;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.address = address;
		this.areaName = areaName;
		this.consignee = consignee;
		this.isDefault = isDefault;
		this.phone = phone;
		this.zipCode = zipCode;
	}

	/** full constructor */
	public Receiver(Member member, Area area, Timestamp createDate,
			Timestamp modifyDate, String address, String areaName,
			String consignee, Boolean isDefault, String phone, String zipCode) {
		this.member = member;
		this.area = area;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.address = address;
		this.areaName = areaName;
		this.consignee = consignee;
		this.isDefault = isDefault;
		this.phone = phone;
		this.zipCode = zipCode;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Member getMember() {
		return this.member;
	}

	public void setMember(Member member) {
		this.member = member;
	}

	public Area getArea() {
		return this.area;
	}

	public void setArea(Area area) {
		this.area = area;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getAreaName() {
		return this.areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getConsignee() {
		return this.consignee;
	}

	public void setConsignee(String consignee) {
		this.consignee = consignee;
	}

	public Boolean getIsDefault() {
		return this.isDefault;
	}

	public void setIsDefault(Boolean isDefault) {
		this.isDefault = isDefault;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getZipCode() {
		return this.zipCode;
	}

	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}

}